//
//  MemberList.m
//  WestAir
//
//  Created by s on 16/9/25.
//  Copyright © 2016年 Henry. All rights reserved.
//

#import "MemberList.h"

@implementation MemberList

+ (instancetype)currentUsinfo {
    static MemberList *currentUserInfo = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        currentUserInfo = [[MemberList alloc] init];
    });
    return currentUserInfo;
}

- (id)copyWithZone:(nullable NSZone *)zone{

    MemberList *instance = [[MemberList alloc] init];
    if (instance) {
        instance.FEntryID = self.FEntryID;
        instance.isSaleHost = self.isSaleHost;
        instance.post =self.post ;
        instance.userAccount =self.userAccount ;
        instance.userName = self.userName;
        instance.userID=self.userID;
        instance.FREADSALEPOLICY=self.FREADSALEPOLICY;
    }
    return instance;
}

-(void)setInfo:(MemberList  *)member{

    self.FEntryID = member.FEntryID;
    self.isSaleHost = member.isSaleHost;
    self.post =member.post ;
    self.userAccount =member.userAccount ;
    self.userName = member.userName;
    self.userID=member.userID;
    self.FREADSALEPOLICY=member.FREADSALEPOLICY;

}



@end
